import type {GetByIdReqVo} from "@/interfaces/base";
import type {MovieDetailReqVO} from "@/interfaces/movie";

export interface TicketInfoParams{
    getByIdReqVo:GetByIdReqVo;
    movieDetailReq:MovieDetailReqVO;
    selectedSeats: number[][];
    ticketCount: number;
    totalPrice: string;
}
interface Seat{
    rowCode:number;
    columnCode:number;
}

export interface DoPayReqVO{
    userId:string;
    movieSession:number;
    seatList:Seat[];
    totalPrice:number;
}

/**
 * 分页查询提交的用户数据
 */
export interface PageMovieOrderReqVO{
    current:number;
    size:number;
    id?:string;
    userId?:string;
    nickName?:string;
    status?:number;
}
/**
 * 分页查询接收的用户数据
 */
export interface PageMovieOrderRespVO{
    id:string;
    movieName:string;
    images:string;
    nickName:number;
    movieStartTime:string;
    seatList:Seat[];
    createTime:string;
    isCancel:number;
    isComplete:number;
    price:string;
    auditStatus:number;
}

/**
 * 申请取消的请数据
 */
export interface ApplyCancelOrderReqVO{
    orderId:string;
    reason:string;
}